package com.inspur.jxpcxt.widget;

import android.app.AlertDialog;
import android.content.Context;

public class ShowPswdDialog extends AlertDialog {

	public ShowPswdDialog(Context context) {

		super(context);
	}

	public ShowPswdDialog(Context context, int themeResId) {

		super(context, themeResId);
	}

	public static ShowPswdDialog showPswd(final Context context, String pswd)
		{

			ShowPswdDialog dialog = new ShowPswdDialog(context,
					android.R.style.Theme_Holo_Light_Dialog);
			dialog.setTitle("10秒之后返回登陆界面... ");
			dialog.setMessage(pswd);
			dialog.getWindow().setBackgroundDrawableResource(
					android.R.color.transparent);
			dialog.show();
			dialog.setCancelable(false);
			return dialog;

		}
}
